package com.atguigu.gmall.product;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * 没有写过任何一个feign
 */
@EnableFeignClients  //开启远程feign
@MapperScan(basePackages = "com.atguigu.gmall.product.mapper") //扫描mapper接口
@SpringCloudApplication
public class  ProductMainApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProductMainApplication.class,args);
    }
}
